<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=l3M8jnzdfgKoAB0uG2YAFIaoyHukxQ7a&amp"></script>    
<div id="container_30"  style="width:569px; height:334px;"> </div>
<script  src="include/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/static/lib/_zfes/zfes.util.js" type="text/javascript" ></script>
<script src="/static/lib/_zfes/zfes.ajax.js" type="text/javascript" ></script>
<script src="/static/lib/_zfes/zfes.core2.js" type="text/javascript" ></script>
<script src="/static/lib/_zfes/zfes.util.js" type="text/javascript" ></script>

<script type="text/javascript">

var address="";
var lon;
var lat;
var url="/met/service/pub/metCmsContent/loadMetCmsContentByIds";
zfesAjax.ajaxTodo(url,{"ids":"5,6"}, function(result){
	  var metCmsContent5=result.data.metCmsContentMap["5"];
	  var metCmsContent6=result.data.metCmsContentMap["6"];
	
	 if(metCmsContent5&&metCmsContent5.contentShort){
		 address=metCmsContent5.contentShort;
	 }
	 if(metCmsContent6&&metCmsContent6.contentShort){
		 lon=metCmsContent6.contentShort.split(",")[0];
		 lat=metCmsContent6.contentShort.split(",")[1];
	 }
	 var map = new BMap.Map("container_30");
	 var point = new BMap.Point(lon,lat);
	 var marker = new BMap.Marker(point);  // 创建标注
	 map.addOverlay(marker); //将标注添加到地图中
	 map.centerAndZoom(point, 15);
	 var opts = {
	   width : 200,    
	   height: 70,    
	   title : "详细地址" ,
	   enableMessage:true,
	 }
	 var infoWindow = new BMap.InfoWindow("地址："+address, opts);  // 创建信息窗口对象 
	 map.openInfoWindow(infoWindow,point); //开启信息窗口
	 
	})
	



</script>
</body>

</html>
